﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabPurchase_Receipt_Item
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? barcode { get; set; }
        public int has_item_scanned { get; set; }
        public string? item_code { get; set; }
        public string? product_bundle { get; set; }
        public string? supplier_part_no { get; set; }
        public string? item_name { get; set; }
        public string? description { get; set; }
        public string? brand { get; set; }
        public string? item_group { get; set; }
        public string? image { get; set; }
        public decimal received_qty { get; set; }
        public decimal qty { get; set; }
        public decimal rejected_qty { get; set; }
        public string? uom { get; set; }
        public string? stock_uom { get; set; }
        public decimal conversion_factor { get; set; }
        public int retain_sample { get; set; }
        public int sample_quantity { get; set; }
        public decimal received_stock_qty { get; set; }
        public decimal stock_qty { get; set; }
        public decimal returned_qty { get; set; }
        public decimal price_list_rate { get; set; }
        public decimal base_price_list_rate { get; set; }
        public string? margin_type { get; set; }
        public decimal margin_rate_or_amount { get; set; }
        public decimal rate_with_margin { get; set; }
        public decimal discount_percentage { get; set; }
        public decimal discount_amount { get; set; }
        public decimal base_rate_with_margin { get; set; }
        public decimal rate { get; set; }
        public decimal amount { get; set; }
        public decimal base_rate { get; set; }
        public decimal base_amount { get; set; }
        public string? pricing_rules { get; set; }
        public decimal stock_uom_rate { get; set; }
        public int is_free_item { get; set; }
        public decimal net_rate { get; set; }
        public decimal net_amount { get; set; }
        public string? item_tax_template { get; set; }
        public decimal base_net_rate { get; set; }
        public decimal base_net_amount { get; set; }
        public decimal valuation_rate { get; set; }
        public decimal item_tax_amount { get; set; }
        public decimal rm_supp_cost { get; set; }
        public decimal landed_cost_voucher_amount { get; set; }
        public decimal rate_difference_with_purchase_invoice { get; set; }
        public decimal billed_amt { get; set; }
        public string? warehouse { get; set; }
        public string? rejected_warehouse { get; set; }
        public string? from_warehouse { get; set; }
        public string? material_request { get; set; }
        public string? purchase_order { get; set; }
        public string? purchase_invoice { get; set; }
        public int is_fixed_asset { get; set; }
        public string? asset_location { get; set; }
        public string? asset_category { get; set; }
        public DateOnly? schedule_date { get; set; }
        public string? quality_inspection { get; set; }
        public string? material_request_item { get; set; }
        public string? purchase_order_item { get; set; }
        public string? purchase_invoice_item { get; set; }
        public string? purchase_receipt_item { get; set; }
        public string? delivery_note_item { get; set; }
        public string? putaway_rule { get; set; }
        public int allow_zero_valuation_rate { get; set; }
        public string? bom { get; set; }
        public string? serial_no { get; set; }
        public int include_exploded_items { get; set; }
        public string? batch_no { get; set; }
        public string? rejected_serial_no { get; set; }
        public string? item_tax_rate { get; set; }
        public decimal weight_per_unit { get; set; }
        public decimal total_weight { get; set; }
        public string? weight_uom { get; set; }
        public string? manufacturer { get; set; }
        public string? manufacturer_part_no { get; set; }
        public string? expense_account { get; set; }
        public string? wip_composite_asset { get; set; }
        public string? provisional_expense_account { get; set; }
        public string? project { get; set; }
        public string? cost_center { get; set; }
        public int page_break { get; set; }
        public string? sales_order { get; set; }
        public string? sales_order_item { get; set; }
        public string? parent { get; set; }
        public string? parentfield { get; set; }
        public string? parenttype { get; set; }
    }
}
